package io.renren.modules.reception.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.reception.dao.TStoreOpenDeskDao;
import io.renren.modules.reception.entity.TStoreOpenDeskEntity;
import io.renren.modules.reception.service.TStoreOpenDeskService;


@Service("tStoreOpenDeskService")
public class TStoreOpenDeskServiceImpl extends ServiceImpl<TStoreOpenDeskDao, TStoreOpenDeskEntity> implements TStoreOpenDeskService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TStoreOpenDeskEntity> page = this.page(
                new Query<TStoreOpenDeskEntity>().getPage(params),
                new QueryWrapper<TStoreOpenDeskEntity>()
        );

        return new PageUtils(page);
    }

}